home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tex
/
macros
/
source
/
contrib
/
supported
/
xypic
/
src
/
xy2cell.doc
/
node13_mn.html
< prev
next >
Wrap
Text File
|
1995-03-15
|
2KB
|
62 lines
<H3><A ID="SECTION00004300000000000000">
3. Excursions</A>
</H3>
The syntax for the |..twocell| types and for ||
is a little different to
what might be expected from that for ||, ||, etc.
For example,
<P>
<DIV ALIGN="CENTER">
|[|;SPMlt;hop;SPMgt;|]<#478#>|;SPMlt;displace;SPMgt;|<#478#>...| </DIV>
<P>
connects to the ;SPMlt;pos;SPMgt; displaced by ;SPMlt;displace;SPMgt; from
the relative cell location specified by ;SPMlt;hop;SPMgt;.
The displacement can be any string of valid -pic commands,
but they must be enclosed within a group |<#479#>...<#479#>|.
When the cell location is required,
a~null grouping |<#480#><#480#>| <#481#><EM>must</EM><#481#> be given.
<P>
When used with the |;SPMlt;;SPMgt;| nudge, such excursions allow a labelled Arrow
to be placed anywhere within an -pic diagram;
furthermore the Arrow can be oriented to point in any direction.
<P>
2
(
@#1<#997#><#997#>
@#1<#998#><#998#>
@#1<#999#><#999#>
@@ <#486#><#486#>
@@ <#487#><#487#>
)
<P>
The empty object gives the default of closely spaced tiny dots,
resulting in a ``smooth'' curve.
<P>
2
The following macro is used in conjunction with compiling diagrams,
to include the global parameters in the compiled file.
<P>
(
@<#1109#><tex2html_comment_mark>219
@<#488#>twocell objects<#488#><#1000#><tex2html_comment_mark>220
<#489#>@ <#489#><tex2html_comment_mark>221
<#490#>@ <#490#><tex2html_comment_mark>222
<#491#>@ <#491#><tex2html_comment_mark>223
<#492#>@ <#492#><tex2html_comment_mark>224
<#493#>@ <#493#><tex2html_comment_mark>225
<#494#>Arrowobject@<#494#><tex2html_comment_mark>226
<#1000#><#1109#>
)
<P>
3